import wpath
from scripts.base import *

result = loadJson()
p = result["p"]
m2 = result["m2"]


def main():
    # ============== 第2个控制台窗口：brownie console
    p_admin = current_project.AdminUpgradeabilityProxy.at(p)  # 使用at再次访问p，需要在新控制台中
    p_admin.upgradeTo(m2, from_admin)
